﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace bbbbb
{
    class Program
    {
       
        public class A
        {
            public virtual void  Method()
            {
                Console.WriteLine("This Method in Class A!");
            }
        }

        public class B : A
        {
            public override void Method()
            {
                Console.WriteLine("This Method in Class B!");
            }
        }
    }
}
